export default {
  common: {
    save: 'Save',
    saveChanges:'Save Changes',
    cancel: 'Cancel',
    delete: 'Delete',
    edit: 'Edit',
    create: 'Create',
    newRecord: 'New record',
    search: 'Search',
    loading: 'Loading...',
    pinned: 'Pinned',
    others: 'Others',
    noCollectionsFound: 'No collections found.',
    restore: "Restore",
    backupName: "Backup name",
    restoreBackup: "Restore backup",
    backupWarning: "Please proceed with caution and use it only with trusted backups!",
    backupExperimental: "Backup restore is experimental and works only on UNIX based systems.",
    typeBackupName: "Type the backup name",
    toConfirm: "to confirm",
    noRecordsFound: "No records found.",
    clearFilters: "Clear filters",
    loadMore: "Load more",
    toggleColumns: "Toggle columns",
    reset: "Reset",
    deleteSelected: "Delete selected",
    avatar: "Avatar",
    email: "Email",
    password: "Password",
    setSelection:"confirm",
    duplicate: "duplicate"
  },
  nav: {
    collections: 'Collections',
    logs: 'Logs',
    settings: 'Settings',
    manageAdmins: 'Manage admins',
  },
  auth: {
    login: 'Login',
    logout: 'Logout',
    email: 'Email',
    password: 'Password',
    forgotPassword: 'Forgot password',
  },
  // 保持英文的部分
  filter: {
    operators: {
      equals: 'equals',
      notEquals: 'not equals',
      like: 'like',
      greater: 'greater than',
      less: 'less than'
    }
  },
  collections: {
    product: 'Products',
    type:'Type',
    tags: 'Tags',
    users: 'Users'
  },
  admin: {
    loginTitle: "Admin Login",
    newAdmin: "New Admin",
    editAdmin: "Edit Admin",
    deleteConfirm: "Do you really want to delete the selected admin?",
    deleteSuccess: "Successfully deleted admin.",
    noAdminsFound: "No admins found.",
    searchPlaceholder: "Search term or filter like email='test@example.com'",
    changePassword: "Change password",
    unsavedChangesConfirm: "There are unsaved changes, do you want to close?",
  },
  logs: {
    title: "Logs",
    settings: "Logs settings",
    requestLog: "Request log",
    empty: "No logs found",
    level: "Level",
    message: "Message",
    data: "Data",
    created: "Created",
    clearAll: "Clear all",
    loadMore: "Load more",
    downloadAsJson: "Download as JSON",
    includeAdminRequests: "Include requests by admins",
    filters: {
      searchPlaceholder: "Search term or filter like `level > 0 && data.auth = 'guest'`",
      title: "Filters",
      search: "Search logs...",
      from: "From",
      to: "To",
      level: {
        info: "Info",
        warning: "Warning",
        error: "Error"
      }
    }
  },
  records: {
    selectRecords: "Select {name} records",
    selected: "Selected",
    selectionCount: "({count} of MAX {max})",
    noSelectedRecords: "No selected records.",
    deleteConfirm: "Do you really want to delete the selected {count, plural, one {record} other {records}}?",
    deleteSuccess: "Successfully deleted the selected {count, plural, one {record} other {records}}.",
    selectedCount: "Selected {count} {count, plural, one {record} other {records}}"
  }
} as const;
